package com.charging.framework.config;

import com.charging.system.service.IKxSystemInfoService;
import org.mybatis.logging.Logger;
import org.mybatis.logging.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class StartupRunThisBean {
    @Resource
    private IKxSystemInfoService kxSystemInfoService;
    private static final Logger log = LoggerFactory.getLogger(StartupRunThisBean.class);

    @PostConstruct
    public void init() {
        // 在这里编写你的代码
        kxSystemInfoService.getKxSystemInfo();
    }
}
